package com.wd.live.platform;

import java.util.ArrayList;
import java.util.List;

import us.codecraft.webmagic.pipeline.Pipeline;

public class MainProcessor {

	public static void main(String[] args) {
		
		Pipeline pipeline = new MyJdbcPipeline();
		List<AbstractProcessor> list = new ArrayList<AbstractProcessor>();
		list.add(new DouyuRepoPageProcessor(pipeline));
		list.add(new HuyaRepoPageProcessor(pipeline));
		list.add(new LongzhuRepoPageProcessor(pipeline));
		list.add(new PandaPageProcessor(pipeline));
		list.add(new QuanminRepoPageProcessor(pipeline));
		list.add(new ZhanqiRepoPageProcessor(pipeline));
		
		for(AbstractProcessor a :list){
			a.execute();
		}
	}
}